package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Prog1 {
	public static void main(String[] args) {
		
		int m; //마일
		double k; //킬로미터
		double d; //단위
		d=1.609;
		
		
		Scanner input = new Scanner(System.in);
		
		System.out.print("마일을 입력하시오 : ");
		m=input.nextInt();
		
		k=m*d;
		
		System.out.println(m + "마일은" + k + "킬로미터입니다.");
		
	}

}
